Electronic pupillometer analysis